package cn.iocoder.yudao.module.digital.controller.admin.worksaudio.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 数字人声音作品新增/修改 Request VO")
@Data
public class WorksAudioSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4109")
    private Long id;

    @Schema(description = "资料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "资料名称不能为空")
    private String name;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "音频文件类型：1-MP3，0-WAV", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "音频文件类型：1-MP3，0-WAV不能为空")
    private Integer type;

    @Schema(description = "文件路径", example = "6559")
    private String fileId;

}